package com.qf.business.system.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.qf.business.system.mapper.EmpRoleTableMapper;
import com.qf.business.system.service.EmpRoleTableService;
import com.qf.data.system.entity.EmpRoleTable;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collection;

/**
 * (EmpRoleTable)表服务实现类
 *
 * @author makejava
 * @since 2022-05-26 16:15:54
 */
@Service
public class EmpRoleTableServiceImpl extends ServiceImpl<EmpRoleTableMapper, EmpRoleTable> implements EmpRoleTableService {

    @Autowired
    private EmpRoleTableMapper empRoleTableMapper;

    @Override
    public boolean saveBatch(Collection<EmpRoleTable> entityList) {
        return empRoleTableMapper.saveBatch(entityList)>0;
    }
}


